package com.goal98.team.domain
class Page {

    static searchable = {
        analyzer 'chinese'
    }

    String reference
    String title
    String text
    Date dateCreated

    static constraints = {
        text(nullable:true)
        title(nullable:true)
    }

    static mapping = {
        text type:'text'
        cache true
    }

}
